package leave.dataaccess;

import leave.exception.DataAccessException;
import leave.model.*;

public interface LeaveCountDAO {
	LeaveCount getLeaveCount(String rank, String leaveType) throws DataAccessException;
	
	LeaveCount newLeaveCount() throws DataAccessException;
	
	void addLeaveCount(LeaveCount lc) throws DataAccessException;
	
	void updateLeaveCount(LeaveCount lc) throws DataAccessException;
	
	void deleteLeaveCount(LeaveCount lc) throws DataAccessException;
}
